//题意很明显就是卡特兰数的一个板子
#include <iostream>

using namespace std;

typedef long long LL;

int n;

LL C(int a, int b)
{
	LL res = 1;
	
	for (int i = a, j = 1; j <= b; j ++ , i -- )
	{
		res = res * i / j;
	}
	
	return res;
}

int main()
{
	cin >> n;
	
	cout << C(2 * n, n) / (n + 1) << endl;
	
	return 0;
}


//------------------
//骗分过样例，暴力出奇迹，爆搜挂着机，打表出省一%%%%😀😀



#include <iostream>

using namespace std;

int main()
{
	int n;
    cin >> n;
    switch(n)
    {
        case 1:cout<<"1"<<endl;break;
        case 2:cout<<"2"<<endl;break;
        case 3:cout<<"5"<<endl;break;
        case 4:cout<<"14"<<endl;break;
        case 5:cout<<"42"<<endl;break;
        case 6:cout<<"132"<<endl;break;
        case 7:cout<<"429"<<endl;break;
        case 8:cout<<"1430"<<endl;break;
        case 9:cout<<"4862"<<endl;break;
        case 10:cout<<"16796"<<endl;break;
        case 11:cout<<"58786"<<endl;break;
        case 12:cout<<"208012"<<endl;break;
        case 13:cout<<"742900"<<endl;break;
        case 14:cout<<"2674440"<<endl;break;
        case 15:cout<<"9694845"<<endl;break;
        case 16:cout<<"35357670"<<endl;break;
        case 17:cout<<"129644790"<<endl;break;
        case 18:cout<<"477638700"<<endl;break;
	}
}

 